package io.renren.service.xtd.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.xtd.HisEmployeeDaoXtd;
import io.renren.entity.xtd.HisEmployeeEntityXtd;
import io.renren.service.xtd.HisEmployeeServiceXtd;
import io.renren.service.impl.HisEmployeeServiceImpl;


@Service("hisEmployeeServiceXtd")
public class HisEmployeeServiceImplXtd extends HisEmployeeServiceImpl implements HisEmployeeServiceXtd {
	@Autowired
	private HisEmployeeDaoXtd hisEmployeeDaoXtd;

	@Override
	public List<HisEmployeeEntityXtd> queryListXtd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return hisEmployeeDaoXtd.queryListXtd(map);
	}
	
	@Override
	public int queryTotalXtd(Map<String, Object> map){
		return hisEmployeeDaoXtd.queryTotalXtd(map);
	}

	@Override
	public void saveBatchXtd(List<Map<String, Object>> list) {
		// TODO Auto-generated method stub
		hisEmployeeDaoXtd.saveBatchXtd(list);
	}

	@Override
	public void deleteXtd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		hisEmployeeDaoXtd.deleteXtd(map);
	}

	@Override
	public HisEmployeeEntityXtd getOldHis(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return hisEmployeeDaoXtd.getOldHis(map);
	}
	
	public HisEmployeeEntityXtd queryEmployeeByInOrgTime(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return hisEmployeeDaoXtd.queryEmployeeByInOrgTime(map);
	}

	@Override
	public List<HisEmployeeEntityXtd> queryEmployeeByHisId(String hisid) {
		// TODO Auto-generated method stub
		return hisEmployeeDaoXtd.queryEmployeeByHisId(hisid);
	}

	@Override
	public int queryTotalXtd2(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return hisEmployeeDaoXtd.queryTotalXtd2(map);
	}
}
